# # 打印九九乘法表
# for i in range(1, 10):  # 控制行数，从1到9
#     for j in range(1, i + 1):  # 控制每行的列数，从1到当前行数
#         # 格式化输出，确保对齐
#         print(f"{j}×{i}={i*j}", end="\t")
#     print()      #   每行结束后换行



for i in range(1,10):
    for j in range(1,i+1):
        print(j,"*",i,"=",i*j,end="\t")
    print()